﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="View3D.aspx.cs" Inherits="Microsoft.Live.ServerControls.Web.ClientSideExtenders.View3D" %>
<%@ Register Namespace="Microsoft.Live.ServerControls.VE" Assembly="Microsoft.Live.ServerControls.VE" TagPrefix="cc" %>
<%@ Register Namespace="Microsoft.Live.ServerControls.VE.Extenders" Assembly="Microsoft.Live.ServerControls.VE" TagPrefix="cx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Virtual Earth Server Control</title>
</head>
<body>
    <form id="form1" runat="server">
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
        <div style="float:left;width:400px;">
            <cc:map ID="myMap" runat="server" ZoomLevel="10" MapMode="Mode3D" >
                <Center Latitude="47.64075" Longitude="-122.12909" />
            </cc:map>   
        </div>
        <div style="float:left;width:400px;">
            <h3>3D View Client Side Extenders</h3>  
            <asp:LinkButton ID="Altitude" runat="server" Text="Altitude"></asp:LinkButton>
            <asp:LinkButton ID="Heading" runat="server" Text="Heading"></asp:LinkButton>
            <asp:LinkButton ID="Pitch" runat="server" Text="Pitch"></asp:LinkButton>
            <asp:LinkButton ID="All" runat="server" Text="Zoom In"></asp:LinkButton>
            <cx:View3D ID="AltitudeExtender" runat="server" TargetControlID="Altitude" MapControlID="myMap" Mode="Altitude" Altitude="500" />
            <cx:View3D ID="HeadingExtender" runat="server" TargetControlID="Heading" MapControlID="myMap" Mode="Heading" Heading="90" />
            <cx:View3D ID="PitchExtender" runat="server" TargetControlID="Pitch" MapControlID="myMap" Mode="Pitch" Pitch="-45" />
            <cx:View3D ID="AllExtender" runat="server" TargetControlID="All" MapControlID="myMap" Mode="AltitudeHeadingPitch" Altitude="1200" Heading="180" Pitch="-20"/>
        </div>
    </form>
</body>
</html>
